package com.hao.tool.web.module.computer.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 服务器信息
 *
 * @author RuiHaoZ on GZ.cmhk
 * @date 2019-11-22 20:30
 */
@Getter
@Setter
@TableName("TB_COMPUTER")
@Accessors(chain = true)
public class ComputerInfo {
    /**
     *
     */
    @TableId(value = "ID",type = IdType.AUTO)
    private Long id;
    /**
     *
     */
    @TableField("IP")
    private String ip;
    /**
     *
     */
    @TableField("USER_NAME")
    private String username;
    /**
     *
     */
    @TableField("PASS_WORD")
    private String password;
    /**
     *
     */
    @TableField("APP_GROUP")
    private String appGroup;
    /**
     *
     */
    @TableField("CREATE_TIME")
    private LocalDateTime createTime;
    /**
     *
     */
    @TableField("CONTENT")
    private String content;
    /**
     *
     */
    @TableField("HEART_TIME")
    private LocalDateTime heartTime;
    /**
     *
     */
    @TableField("SYSTEM_TYPE")
    private String systemType;
    /**
     *
     */
    @TableField("CREATE_USER")
    private String createUser;
    /**
     *
     */
    @TableField("COM_NAME")
    private String comName;
    /**
     *
     */
    @TableField("TAG_GROUP")
    private String tagGroup;
    /**
     *
     */
    @TableField("AGENT_USER")
    private String agentUser;
    /**
     *
     */
    @TableField("LOCATION")
    private String location;
    /**
     *
     */
    @TableField("DEPARTMENT")
    private String department;
    /**
     *
     */
    @TableField(exist = false)
    private List<ApplicationInfo> infoList;

}










